let loginBtn = document.querySelector('.login-btn');
let registerBtn = document.querySelector('.register-btn');
let loginSubBox = document.querySelector('.login-sub-box');
let registerSubBox = document.querySelector('.register-sub-box');

loginBtn.addEventListener('click',function(){
    loginSubBox.classList.add('show');
    registerSubBox.classList.remove('show');
})

registerBtn.addEventListener('click',function(){
    registerSubBox.classList.add('show');
    loginSubBox.classList.remove('show');
})